const {Query}=require('../db/qurey')

// 获取’关于我们‘数据
module.exports.getAbout = async () => {
    return await Query(`SELECT * FROM about;`)
}
//轮播图
module.exports.getCarousel = async () => {
    return await Query(`SELECT * FROM carousel WHERE status="display";`)
}
//公告
module.exports.getNotice = async () => {
    return await Query(`SELECT * FROM notice;`)
}
//员工
module.exports.getStaff= async () => {
    return await Query(`SELECT * FROM staff;`)
}
